<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<?xml version="1.0" ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
    "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
	<jsp:include page="head.html"/>
	<body>
		<div id="head"><h1>Fahrtenbuch</h1></div>
		<jsp:include page="menu.jsp"/>
		<div id="content">
			<h2><c:out value="${title}"/></h2>
			<p><c:out value="${message}"/></p>
			<table class="listing">
				<colgroup>
					<col class="buttoncell"/>
					<col class="buttoncell"/>
					<col/>
					<col/>
				</colgroup>
				<tbody>
					<tr>
						<th></th>
						<th></th>
						<th>Name</th>
						<th>Telefon</th>
					</tr>
					<c:forEach items="${personen}" var="person">
						<tr>
							<td></td>
							<td></td>
							<td><a href="EditPerson.s?id=<c:out value="${person.id}"/>"><c:out value="${person.vorname}"/> <c:out value="${person.nachname}"/></a></td>
							<td><c:out value="${person.telefon}"/></td>
						</tr>
					</c:forEach>  
				</tbody>
			</table>
		</div>
	</body>
</html>  